package com.woniuxy.commons.entity.wyh;

import com.woniuxy.commons.entity.QuestionAnswer;
import com.woniuxy.commons.entity.QuestionDetail;
import com.woniuxy.commons.entity.SchoolInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 教师实体
 * @author wyh
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain=true)
public class TeacherInfo {
	//主键
    private Integer tcId;
    //登陆账号
    private String account;
    //密码
    private String password;
    //姓名
    private String name;
    //头像
    private String imagehead;
    //科目
    private String subject;
    //电话
    private String tel;
    //有效
    private String mailbox;
    //学校id
    private Integer sid;
    //预留字段
    private Integer test2;
    //预留字段
    private Integer test3;

    private List<TeamInfo> teamInfos;//班级
    private SchoolInfo schoolInfo;//学校
    private List<QuestionAnswer> questionAnswers;//消息
    private String latestDetail;//最近的一次消息
    private int newMsg;//是否有新消息

}